package com.dao;

import com.entity.Buildingarea;
import com.entity.BuildingareaExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface BuildingareaDao {
    long countByExample(BuildingareaExample example);

    int deleteByExample(BuildingareaExample example);

    int deleteByPrimaryKey(Integer bid);

    int insert(Buildingarea record);

    int insertSelective(Buildingarea record);

    List<Buildingarea> selectByExample(BuildingareaExample example);

    Buildingarea selectByPrimaryKey(Integer bid);

    int updateByExampleSelective(@Param("record") Buildingarea record, @Param("example") BuildingareaExample example);

    int updateByExample(@Param("record") Buildingarea record, @Param("example") BuildingareaExample example);

    int updateByPrimaryKeySelective(Buildingarea record);

    int updateByPrimaryKey(Buildingarea record);
}